-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add db integration tests #132
Conversation
@@ -45,12 +45,12 @@ var collections = map[string][]index{ | |||
LastProcessedHeightCollection: {{Indexes: map[string]int{}}}, | |||
} | |||
|
|||
func Setup(ctx context.Context, cfg *config.Config) error { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there is no need to pass entire config, only db values are used here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice work, lgtm!
@kirugan can you share more details about the bug? |
Added integration tests for database (already found bug with max uint64 value - it's not possible to store it in bson).